#ifndef __CONTROL_H
#define __CONTROL_H

#include "ti_msp_dl_config.h"
#include "Motor.h"
#include "PID.h"
#include "Encoder.h"
#include "HCSR04.h"
#include "Sensor.h"
#include "MPU6050.h"
#include "IMU.h"
#include "atk_ms901m_uart.h"
#include "atk_ms901m.h"
// #include "bsp_mpu6050.h"
// #include "inv_mpu.h"

extern volatile float APWM;
extern volatile float BPWM;
extern volatile uint16_t MPU6050_TIMER;

void PID_Control(void);
void Conditional_Judgment();
void OLED_Loop_Show();
void OLED_Static_Show();
void Yaw_Init(void);

#endif
